package day03.edu;

import org.junit.Test;

import java.util.Scanner;

public class JUnit {
    @Test
    public void test() {
        System.out.println("It a test");
    }

    @Test
    public void test1() {
        System.out.println("I have learning");
    }

    @Test
    public void test2() {
        String string = showInfo("French");
        System.out.println(string);
    }

    String showInfo(String country) {
        System.out.println(country);
        return "mouse";
    }

    @Test
    public void test3() {
        Scanner scan = new Scanner(System.in);
        System.out.println("Please input you num: ");
        int num = scan.nextInt();
        System.out.println(num);

        scan.close();
    }

    @Test
    public void test4() {
        System.out.println("Automatically generating unit test method");
    }
}
